package com.whopxx.domain.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

import java.io.Serializable;

@Data
public class BasePageDTO implements Serializable {
    private Long pageNum = 1L;
    private Long pageSize = 10L;

    public Page pageParam(){
        return new Page<>(pageNum, pageSize);
    }
}
